<!DOCTYPE html>
<html lang="en" xmlns:th="http://www.w3.org/1999/xhtml">
<head>
    <meta charset="UTF-8">
    <title>Title</title>
    <div th:insert="/common.html"></div>
</head>
<body>

<form id="updateForm">
         <input type="hidden" name="cid" th:value="${list.cid}">
        车辆:<input type="text" name="cname" id="text" th:value="${list.cname}"><br>
        价格:<input type="text" name="price" id="ser" th:value="${list.price}"><br>
        分类:
        <th:block th:each="l : ${t}">
            <input type="checkbox"  name="tid"  th:value="${l.tid}" th:checked="${l.tid == list.tid}">[[${l.tname}]]
        </th:block>


</form>
</body>
</html>